<!DOCTYPE html>
<html lang="en" ng-app="myApp">
<head>
    <meta charset="UTF-8">
    <title>呆呆阿卜-后台管理系统</title>

    <link rel="stylesheet" href="code/css/wangEditor.css">

    <!--<link rel="stylesheet" href="code/css/common.css">-->
    <!--<link rel="stylesheet" href="code/css/index.css">-->
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="renderer" content="webkit">
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <title>H+ 后台主题UI框架 - 主页</title>

    <meta name="keywords" content="H+后台主题,后台bootstrap框架,会员中心主题,后台HTML,响应式后台">
    <meta name="description" content="H+是一个完全响应式，基于Bootstrap3最新版本开发的扁平化主题，她采用了主流的左右两栏式布局，使用了Html5+CSS3等现代技术">

    <!--[if lt IE 9]>
    <meta http-equiv="refresh" content="0;ie.html" />
    <![endif]-->

    <link rel="shortcut icon" href="favicon.ico">
    <link href="code/recss/bootstrap.min14ed.css?v=3.3.6" rel="stylesheet">
    <link href="code/recss/font-awesome.min93e3.css?v=4.4.0" rel="stylesheet">
    <link href="code/recss/animate.min.css" rel="stylesheet">
    <link href="code/recss/style.min862f.css?v=4.1.0" rel="stylesheet">
    <link href="code/recss/jBootsrapPage.css?v=4.1.0" rel="stylesheet">
    <style>
        .m-t-xs {
            margin-top: 9px;
            font-size: 18px;
        }
        .page-tabs a{
            padding: 0 100px;
        }
        /*.page-tabs a.active{*/
            /*background-color: #FD9C9A;*/
        /*}*/
        /*.content-tabs{*/
            /*border-bottom: 2px solid #FD9C9A;*/
        /*}*/
        /*.navbar-static-side {*/
            /*background: #C67270;*/
        /*}*/
        /*.nav>li>a{*/
            /*color: #fff;*/
        /*}*/
        /*.nav>li>a:hover{*/
            /*background-color: red;*/
        /*}*/
        /*.nav-header{*/
            /*background-color: #FD9C9A;*/
        /*}*/
    </style>
</head>
<body class="fixed-sidebar full-height-layout gray-bg" style="overflow:hidden">

<div id="wrapper">
    <nav class="navbar-default navbar-static-side" role="navigation">
        <div class="nav-close"><i class="fa fa-times-circle"></i>
        </div>
        <div class="sidebar-collapse">
            <ul class="nav" id="side-menu">
                <li class="nav-header">
                    <div style="text-align: center" class="dropdown profile-element">
                        <span><img alt="image" style="width:80px;height: 80px;" class="img-circle" src="code/img/APP_Logo.png" /></span>
                        <a data-toggle="dropdown" class="dropdown-toggle" href="#">
                                <span class="clear">
                               <span class="block m-t-xs"><strong class="font-bold" id="name"></strong></span>
                                </span>
                        </a>
                    </div>
                    <div class="logo-element">D
                    </div>
                </li>
                <li>
                    <a href="#">
                        <i class="fa fa-file-text"></i>
                        <span class="nav-label">文章管理</span>
                        <span class="fa arrow"></span>
                    </a>
                    <ul class="nav nav-second-level">
                        <li>
                            <a class="J_menuItem" onclick="toJump('#/article/articleAdd','新增文章')" data-index="0">新增文章</a>
                        </li>
                        <li>
                            <!--<a class="J_menuItem"  href="#/article">查询文章</a>-->
                            <a class="J_menuItem" data-index="1"  onclick="toJump('#/article','查询文章')">查询文章</a>
                            <!--<a class="J_menuItem" data-index="1" href="javascript:alert(11)">查询文章</a>-->
                        </li>
                    </ul>

                </li>
                <li>
                    <a href="#">
                        <i class="fa fa-video-camera"></i>
                        <span class="nav-label">视频管理</span>
                        <span class="fa arrow"></span>
                    </a>
                    <ul class="nav nav-second-level">
                        <li>
                            <a class="J_menuItem" onclick="toJump('#/video/videoAdd','新增视频')" data-index="0">新增视频</a>
                        </li>
                        <li>
                            <a class="J_menuItem" onclick="toJump('#/video','查询视频')">查询视频</a>
                        </li>
                    </ul>

                </li>
                <li>
                    <a href="#">
                        <i class="fa fa-paw"></i>
                        <span class="nav-label">广告图管理</span>
                        <span class="fa arrow"></span>
                    </a>
                    <ul class="nav nav-second-level">
                        <li>
                            <a class="J_menuItem" onclick="toJump('#/ad/adImgAdd','新增广告图')" data-index="0">新增广告图</a>
                        </li>
                        <li>
                            <a class="J_menuItem" onclick="toJump('#/ad/adImg','查询广告图')">查询广告图</a>
                        </li>
                    </ul>

                </li>
                <li>
                    <a href="#">
                        <i class="fa fa-tv"></i>
                        <span class="nav-label">广播台管理</span>
                        <span class="fa arrow"></span>
                    </a>
                    <ul class="nav nav-second-level">
                        <li>
                            <a class="J_menuItem" onclick="toJump('#/ad/adAudioAdd','新增广播台')" data-index="0">新增广播台</a>
                        </li>
                        <li>
                            <a class="J_menuItem" onclick="toJump('#/ad/adAudio','查询广播台')">查询广播台</a>
                        </li>
                    </ul>

                </li>
                <li>
                    <a href="#">
                        <i class="fa fa-comments-o"></i>
                        <span class="nav-label">资源主推管理</span>
                        <span class="fa arrow"></span>
                    </a>
                    <ul class="nav nav-second-level">
                        <li>
                            <a class="J_menuItem" onclick="toJump('#/ad/resourceAdd','新增资源主推')" data-index="0">新增资源主推</a>
                        </li>
                        <li>
                            <a class="J_menuItem" onclick="toJump('#/ad/resource','查询资源主推')">查询资源主推</a>
                        </li>
                    </ul>

                </li>
                <li>
                    <a href="#">
                        <i class="fa fa-male"></i>
                        <span class="nav-label">作者管理</span>
                        <span class="fa arrow"></span>
                    </a>
                    <ul class="nav nav-second-level">
                        <li>
                            <a class="J_menuItem" onclick="toJump('#/writer/writerAdd')" data-index="0">新增作者</a>
                        </li>
                        <li>
                            <a class="J_menuItem" onclick="toJump('#/writer')">查询作者</a>
                        </li>
                    </ul>

                </li>
                <li>
                    <a href="#">
                        <i class="fa fa-calendar-plus-o"></i>
                        <span class="nav-label">签到管理</span>
                        <span class="fa arrow"></span>
                    </a>
                    <ul class="nav nav-second-level">
                        <li>
                            <a class="J_menuItem" onclick="toJump('#/sign/signAdd')" data-index="0">新增签到</a>
                        </li>
                        <li>
                            <a class="J_menuItem" onclick="toJump('#/sign')">查询签到</a>
                        </li>
                    </ul>

                </li>
                <li>
                    <a href="#">
                        <i class="fa fa-support"></i>
                        <span class="nav-label">活动管理</span>
                        <span class="fa arrow"></span>
                    </a>
                    <ul class="nav nav-second-level">
                        <li>
                            <a class="J_menuItem"  onclick="toJump('#/activity/activityAdd')" data-index="0">新增活动</a>
                        </li>
                        <li>
                            <a class="J_menuItem" onclick="toJump('#/activity')">查询活动</a>
                        </li>
                    </ul>

                </li>
                <li>
                    <a href="#">
                        <i class="fa fa-cart-plus"></i>
                        <span class="nav-label">商城管理</span>
                        <span class="fa arrow"></span>
                    </a>
                    <ul class="nav nav-second-level">
                        <li>
                            <a class="J_menuItem" onclick="toJump('#/mall/mallAdd')" data-index="0">新增商品</a>
                        </li>
                        <li>
                            <a class="J_menuItem" onclick="toJump('#/mall')">查询商品</a>
                        </li>
                    </ul>

                </li>
                <li>
                    <a href="#">
                        <i class="fa fa-retweet"></i>
                        <span class="nav-label">兑换管理</span>
                        <span class="fa arrow"></span>
                    </a>
                    <ul class="nav nav-second-level">
                        <!--<li>-->
                            <!--<a class="J_menuItem" href="addArticle.html" data-index="0">新增兑换</a>-->
                        <!--</li>-->
                        <li>
                            <a class="J_menuItem" onclick="toJump('#/exchange')">查询兑换</a>
                        </li>
                    </ul>

                </li>
                <li>
                    <a href="#">
                        <i class="fa fa-bookmark"></i>
                        <span class="nav-label">专题管理</span>
                        <span class="fa arrow"></span>
                    </a>
                    <ul class="nav nav-second-level">
                        <li>
                            <a class="J_menuItem"  data-index="0">待定</a>
                        </li>
                        <li>
                            <a class="J_menuItem" >待定</a>
                        </li>
                    </ul>

                </li>
                <!--<li>-->
                    <!--<a href="#">-->
                        <!--<i class="fa fa-hourglass-half"></i>-->
                        <!--<span class="nav-label">高级管理</span>-->
                        <!--<span class="fa arrow"></span>-->
                    <!--</a>-->
                    <!--<ul class="nav nav-second-level">-->
                        <!--<li>-->
                            <!--<a class="J_menuItem"  data-index="0">待定</a>-->
                        <!--</li>-->
                        <!--<li>-->
                            <!--<a class="J_menuItem" >待定</a>-->
                        <!--</li>-->
                    <!--</ul>-->

                <!--</li>-->
                <li>
                    <a href="#">
                        <i class="fa fa-question"></i>
                        <span class="nav-label">随机问题</span>
                        <span class="fa arrow"></span>
                    </a>
                    <ul class="nav nav-second-level">
                        <li>
                            <a class="J_menuItem"  onclick="toJump('#/questions/questionsAdd')">增加问题</a>
                        </li>
                        <li>
                            <a class="J_menuItem"  onclick="toJump('#/questions')">查询问题</a>
                        </li>
                    </ul>

                </li>
                <li>
                    <a href="#">
                        <i class="fa fa-bell"></i>
                        <span class="nav-label">推送管理</span>
                        <span class="fa arrow"></span>
                    </a>
                    <ul class="nav nav-second-level">
                        <li>
                            <a class="J_menuItem"  onclick="toJump('#/push/pushAdd')" data-index="0">新增推送</a>
                        </li>
                        <li>
                            <a class="J_menuItem" onclick="toJump('#/push')">查询推送</a>
                        </li>
                    </ul>

                </li>

                <li>
                    <a href="#">
                        <i class="fa fa-bell"></i>
                        <span class="nav-label">机器人管理</span>
                        <span class="fa arrow"></span>
                    </a>
                    <ul class="nav nav-second-level">

                        <li>
                            <a class="J_menuItem" onclick="toJump('#/robot')">查询</a>
                        </li>
                    </ul>

                </li>


            </ul>
        </div>
    </nav>
    <div id="page-wrapper" class="gray-bg  right dashbard-1" >
        <div class="row content-tabs">
            <button class="roll-nav roll-left J_tabLeft"><i class="fa fa-backward"></i>
            </button>
            <nav class="page-tabs J_menuTabs">
                <div class="page-tabs-content">
                    <a style="color: #fff;letter-spacing: 7px;font-size: 18px;" href="javascript:;" class="active J_menuTab" id="showPageName">公告</a>
                </div>


            </nav>
            <a onclick="toLoginOut()" class="roll-nav roll-right J_tabExit"><i class="fa fa fa-sign-out"></i> 退出</a>
        </div>
        <div class="right" ng-view="" style="padding-top: 20px;">

        </div>
    </div>
    <!--<div class="right" ng-view="">-->

    <!--</div>-->
</div>

<script src="http://gosspublic.alicdn.com/aliyun-oss-sdk-4.4.4.min.js"></script>
<script src="code/js/lib/crypto-min.js"></script>
<script src="code/js/lib/hmac-min.js"></script>
<script src="code/js/lib/sha1-min.js"></script>
<script src="code/js/lib/base64.js"></script>

<script src="code/js/lib/jquery-1.10.2.min.js"></script>
<script src="code/js/lib/plupload.full.min.js"></script>
<script src="code/js/lib/wangEditor.min.js"></script>
<script src="code/js/lib/jquery.cookie.js"></script>

<script src="code/js/lib/bootstrap.min.js?v=3.3.6"></script>
<script src="code/js/plugins/metisMenu/jquery.metisMenu.js"></script>
<script src="code/js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
<script src="code/js/plugins/layer/layer.min.js"></script>
<script src="code/js/plugins/layer/laydate/laydate.js"></script>
<script src="code/js/lib/hplus.min.js?v=4.1.0"></script>
<script type="text/javascript" src="code/js/lib/contabs.min.js"></script>
<script src="code/js/plugins/pace/pace.min.js"></script>
<script src="code/js/lib/jBootstrapPage.js?v=1.0.0"></script>

<script src="code/js/lib/angular.min.js"></script>
<script src="code/js/lib/angular-route.min.js"></script>
<script src="code/js/lib/angular-animate.min.js"></script>
<script src="code/js/app.js"></script>
<script src="code/js/service/service.js"></script>
<script src="code/js/common/fomratDate.js"></script>
<script src="code/js/router/router.js"></script>
<script src="code/js/controller/controller.js"></script>

<!--<script src="code/js/lib/showimg.js"></script>-->

<!--<script src="code/js/lib/bootstrap.min.js?v=3.3.6"></script>-->
<!--<script src="code/js/plugins/metisMenu/jquery.metisMenu.js"></script>-->
<!--<script src="code/js/plugins/slimscroll/jquery.slimscroll.min.js"></script>-->
<!--<script src="code/js/plugins/layer/layer.min.js"></script>-->
<!--<script src="code/js/plugins/layer/laydate/laydate.js"></script>-->
<!--<script src="code/js/lib/hplus.min.js?v=4.1.0"></script>-->
<!--<script type="text/javascript" src="code/js/lib/contabs.min.js"></script>-->
<!--<script src="code/js/plugins/pace/pace.min.js"></script>-->
<script type="text/javascript">
    function toJump(link,pageName){
        if(link){
            sessionStorage.setItem('type', 0);
            location.href = link;

        }
    }

    /**
     * 进行退出操作
     */
    function toLoginOut(){
        localStorage.clear();
        var url = window.location.origin+'/admin/login.html';
        window.location.href = url;
    }

    //更改名字
    $('#name').html(localStorage['name']);
</script>
</body>
</html>